<template>
	<view class="content">
		<view class="flex-direction">
			<text>flex-direction</text>
			<view class="flex-column-reverse">
				<view class="item">A</view>
				<view class="item">B</view>
				<view class="item">C</view>
				<view class="item">D</view>
				<view class="item">E</view>
				<view class="item">F</view>
				
			</view>
		</view>
	</view>
	
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			
		}
	}
</script>

<style>
	
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 20rem auto;
		width: 90%;
	}
	.flex-direction{
		display: flex;
		flex-direction: column;
		border: 1px solid #c7c7c7;
		width:  100%;
		padding: 20px;
	}
	.flex-row{
		display: flex;
		width: 100%;
		flex-direction: row;
	}
	.flex-column{
		display: flex;
		flex-direction: column;
		width: 100%;
	} 
	.flex-column-reverse{
		display: flex;
		flex-direction: column-reverse;
		width: 100%;
	}
	
	.flex-row-reverse{
		display: flex;
		flex-direction: row-reverse;
		width: 100%;
	}
	
	.item{
		width:30px;
		height: 20px;
		background-color: #c7c7c7;
		margin: 10rem;
		color: #ffffff;
		text-align: center;
	}
	

	
	
</style>
